@echo off
rem Copy files to local Oasis Montaj Viewer installation (required to make toolbar work)

set dir=C:\Program Files\Geosoft\Oasis montaj Viewer
if not exist "%dir%" set dir=C:\Program Files (x86)\Geosoft\Oasis montaj Viewer

if exist "%dir%" goto :dir_ok
   echo ** Error ** Cannot find Montaj Viewer directory
   goto :eof
:dir_ok

copy *.geobar "%dir%\bar\"
copy img\*.*  "%dir%\img\"